package pojo;

import java.util.Date;

/**
 * Usermessage entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Usermessage implements java.io.Serializable {

	// Fields

	private Integer mid;
	private Persion persion;
	private Messagetype messagetype;
	private Block block;
	private String mtitle;
	private Date msendTime;
	private String mdes;
	private String mcontent;
	private String mfilePath;
	private String isSendNow;
	private String fileName;
	private String sender;
	private String isRead;
	private String files;

	// Constructors

	/** default constructor */
	public Usermessage() {
	}

	/** full constructor */
	public Usermessage(Persion persion, Messagetype messagetype, Block block,
			String mtitle, Date msendTime, String mdes, String mcontent,
			String mfilePath, String isSendNow, String fileName, String sender,
			String isRead) {
		this.persion = persion;
		this.messagetype = messagetype;
		this.block = block;
		this.mtitle = mtitle;
		this.msendTime = msendTime;
		this.mdes = mdes;
		this.mcontent = mcontent;
		this.mfilePath = mfilePath;
		this.isSendNow = isSendNow;
		this.fileName = fileName;
		this.sender = sender;
		this.isRead = isRead;
	}

	// Property accessors

	public Integer getMid() {
		return this.mid;
	}

	public void setMid(Integer mid) {
		this.mid = mid;
	}

	public Persion getPersion() {
		return this.persion;
	}

	public void setPersion(Persion persion) {
		this.persion = persion;
	}

	public Messagetype getMessagetype() {
		return this.messagetype;
	}

	public void setMessagetype(Messagetype messagetype) {
		this.messagetype = messagetype;
	}

	public Block getBlock() {
		return this.block;
	}

	public void setBlock(Block block) {
		this.block = block;
	}

	public String getMtitle() {
		return this.mtitle;
	}

	public void setMtitle(String mtitle) {
		this.mtitle = mtitle;
	}

	public Date getMsendTime() {
		return this.msendTime;
	}

	public void setMsendTime(Date msendTime) {
		this.msendTime = msendTime;
	}

	public String getMdes() {
		return this.mdes;
	}

	public void setMdes(String mdes) {
		this.mdes = mdes;
	}

	public String getMcontent() {
		return this.mcontent;
	}

	public void setMcontent(String mcontent) {
		this.mcontent = mcontent;
	}

	public String getMfilePath() {
		return this.mfilePath;
	}

	public void setMfilePath(String mfilePath) {
		this.mfilePath = mfilePath;
	}

	public String getIsSendNow() {
		return this.isSendNow;
	}

	public void setIsSendNow(String isSendNow) {
		this.isSendNow = isSendNow;
	}

	public String getFileName() {
		return this.fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getSender() {
		return this.sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getIsRead() {
		return this.isRead;
	}

	public void setIsRead(String isRead) {
		this.isRead = isRead;
	}

	public String getFiles() {
		return files;
	}

	public void setFiles(String files) {
		this.files = files;
	}

}